package com.seven.springboot.mapper;

import com.seven.springboot.domain.query.AccountQuery;
import com.seven.springboot.pojo.Account;

public interface AccountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Account record);

    int insertSelective(Account record);

    Account selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);
    
    Account selectByQuery(AccountQuery query);
}